package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallCouponUser;
import com.project.mall.bean.generator.CskaoyanmallCouponUserExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallCouponUserMapper {
    long countByExample(CskaoyanmallCouponUserExample example);

    int deleteByExample(CskaoyanmallCouponUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallCouponUser record);

    int insertSelective(CskaoyanmallCouponUser record);

    List<CskaoyanmallCouponUser> selectByExample(CskaoyanmallCouponUserExample example);

    CskaoyanmallCouponUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallCouponUser record, @Param("example") CskaoyanmallCouponUserExample example);

    int updateByExample(@Param("record") CskaoyanmallCouponUser record, @Param("example") CskaoyanmallCouponUserExample example);

    int updateByPrimaryKeySelective(CskaoyanmallCouponUser record);

    int updateByPrimaryKey(CskaoyanmallCouponUser record);
}